package info.hexin.quartz.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 */
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CronScheduled {

    String cron() default "";

    String zone() default "";

    String enable() default "true";

    long initialDelay() default -1;

    String initialDelayString() default "";
}
